Emacs should now follow Make 4.0 directory changes.
authorJed Brown <jed@59A2.org>
Wed, 23 Oct 2013 16:25:56 +0000 (09:25 -0700)
committerRob Browning <rlb@defaultvalue.org>
Sat, 16 Aug 2014 21:30:12 +0000 (16:30 -0500)
This upstream patch has been added:

  compile: Support GNU Make-4.0 directory quoting (tiny change)

  * lisp/progmodes/compile.el (compilation-directory-matcher)
  (compilation-page-delimiter): Support GNU Make-4.0 directory quoting.

Origin: upstream, commit: r114757, 1ecd341c106bec179db172bc5c992ac236e70274
Bug: http://debbugs.gnu.org/15678
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747624
Added-by: Rob Browning <rlb@defaultvalue.org>
lisp/ChangeLog
lisp/progmodes/compile.el

index 8a902616877c7ac98169b1726795f9b502615242..abde30ff305075f47e1c82e20039af12524352d0 100644 (file)
        (trace-call-tree): Simplify and update.
        Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
 
+2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
+
+       * progmodes/compile.el (compilation-directory-matcher)
+       (compilation-page-delimiter):
+       Support GNU Make-4.0 directory quoting.  (Bug#15678)
+
 2013-03-11  Glenn Morris  <rgm@gnu.org>
 
        * Version 24.3 released.
index 68a83b471748c137874338810cb44079d8ce175a..8e0d501d570c67905ae4c143b5981e373a2712fa 100644 (file)
@@ -514,7 +514,7 @@ listed text properties PROP# are given values VAL# as well."
   "Directory to restore to when doing `recompile'.")
 
 (defvar compilation-directory-matcher
-  '("\\(?:Entering\\|Leavin\\(g\\)\\) directory `\\(.+\\)'$" (2 . 1))
+  '("\\(?:Entering\\|Leavin\\(g\\)\\) directory [`']\\(.+\\)'$" (2 . 1))
   "A list for tracking when directories are entered or left.
 If nil, do not track directories, e.g. if all file names are absolute.  The
 first element is the REGEXP matching these messages.  It can match any number
@@ -527,7 +527,7 @@ directory we were in before the last entering message.  If you change this,
 you may also want to change `compilation-page-delimiter'.")
 
 (defvar compilation-page-delimiter
-  "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory `.+'\n\\)+"
+  "^\\(?:\f\\|.*\\(?:Entering\\|Leaving\\) directory [`'].+'\n\\)+"
   "Value of `page-delimiter' in Compilation mode.")
 
 (defvar compilation-mode-font-lock-keywords